<html>
<head>
 <meta charset="utf-8" />
</head>
<!--script src="/ngs/js/lib/require.min.js"></script-->
<!--script src="/ngs/js/lib/jquery-3.6.0.min.js"></script-->
<!--script src="../softphone.constants.min.js"></script-->
<!--script src="trclink2config.js"></script-->
<!--script src="softphone.elitetrclink2.min.js"></script-->
<script type="text/javascript">
 if (typeof($E) == 'undefined') {
  var $E = parent.$E;
 }
 if (typeof($SC) == 'undefined') {
  var $SC = parent.$SC;
 }
 if (!$E) {
  $E = {softphoneBasePath: 'js/softphone/wscti', jsv: '.min'};
 }
 $SC.loadJSs("trclink2"
     , [window.parent.document.URL.substring(0, window.parent.document.URL.indexOf('?')) + "js/lib/jquery-3.6.0.min.js"
     , "../softphone.constants.min.js"
     , "trclink2config.js"
     , "softphone.elitetrclink2.min.js"], window.document, function(){
  //$SC.loadJS(window.parent.document.URL + "js/lib/jquery-3.6.0.min.js", window.document, function(){
      let clinkclient_url = $SC._getconfig("TRClink2Config", "clinkclient_url") || TRClink2Config.clinkclient_url;
      console.log('[trclink2]getScript--TRClink2Config.clinkclient_url: ' + clinkclient_url);
  $.getScript(clinkclient_url, function(){
   console.log('[trclink2]TRClink2Config.clinkclient_url loaded');
   window.parent.iframeonload(cticlient);
  });
 });
</script>
</html>
